package com.business.system.service;

import java.util.List;

import com.business.system.pojo.BaseDataLibary;
import com.utility.Page;

public interface IBaseDataLibaryService {
	public int insert(BaseDataLibary entity) throws RuntimeException;

	public int update(BaseDataLibary entity) throws RuntimeException;

	public int delete(int id) throws RuntimeException;

	public List<BaseDataLibary> selectAll(int type) throws RuntimeException;

	public BaseDataLibary findById(int id) throws RuntimeException;

	public Page<BaseDataLibary> findListPage(BaseDataLibary entity, int pageNo,
			int pageSize) throws RuntimeException;
}
